<template>
  <div class="dg-art">
    <am-tabs :justify="true">
      <am-tabs-panel v-for="(item, index) in tabs" :key="index" :label="item.name">
        
      </am-tabs-panel>
    </am-tabs>
  </div>
</template>

<script>
export default {
  name: 'Panel',
  data() {
    return {
      curTab: 0
    }
  },
  props: {
    tabs: {// 选型
      type: Array,
      default() {
        return [];
      },
      required: false
    }
  }
}
</script>

<style>
.am-tabs-bd { border: 0 !important; }
</style>
